104534e8d4d92a15b088ab190a90d4113e9c4a07,src/jwiki/core/WAction.java,WAction,unstash,#Wiki#String#String#String#String#,267
Before Change
private static boolean unstash(Wiki wiki, String filekey, String title, String text, String reason)
{
ColorLog.info(wiki, String.format("Unstashing '%s' from temporary archive @ '%s'", title, filekey));
Reply r = doAction(wiki, "upload", "filename", title, "text", text, "comment", reason, "token", wiki.token, "filekey", filekey,
"ignorewarnings", "true");
return r != null && r.resultIs("Success");
}
}
After Change
private static boolean unstash(Wiki wiki, String filekey, String title, String text, String reason)
{
ColorLog.info(wiki, String.format("Unstashing '%s' from temporary archive @ '%s'", title, filekey));
Reply r = doAction(wiki, "upload", FL.pMap("filename", title, "text", text, "comment", reason, "token", wiki.token, "filekey",
filekey, "ignorewarnings", "true"));
return r != null && r.resultIs("Success");
}
}